package com.ecode.annotation.enums;

/**
 * @ClassName CodeConfigTypeEnum
 * @Author mjlft
 * @Date 2021/9/25 12:53
 * @Version 1.0
 * @Description 错误码配置类型
 */
public enum CodeDataTypeEnum {
    JSON("JSON", "json配置类型"),
    TEXT("TEXT", "TEXT配置类型"),
    OTHER("OTHER", "自定义配置类型")
    ;

    private String type;
    private String desc;

    CodeDataTypeEnum(String type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
